<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<script>
$(document).ready(function(){
});


</script>

<div class="row-fluid sortable">
		<div class="box span12">
			<div class="box-header well" data-original-title>
				<h2><i class="icon-lock"></i> Alterar Senha</h2>
			</div>
			<%@ include file="/template/mensagem.jsp" %>
			<div class="box-content">
				<html:form styleId="usuarioForm" action="/paginas/restrito/usuarioAction.do"  styleClass="form-horizontal">
					<html:hidden name="usuarioForm" property="usuario.codigo" styleId="id_codigo" />
					<html:hidden property="action"/>
					<fieldset>
					  <div class="control-group">
						<label class="control-label" for="focusedInput">* Senha Anterior</label>
						<div class="controls">
							<html:password maxlength="10" name="usuarioForm" property="senhaAnterior" styleClass="input-medium focused" styleId="id_senhaAnterior" />
						</div>
					  </div>
					  <div class="control-group">
						<label class="control-label" for="focusedInput">* Nova Senha</label>
						<div class="controls">
							<html:password maxlength="10" name="usuarioForm" property="usuario.senha" styleClass="input-medium focused" styleId="id_novaSenha" />
						</div>
					  </div>
					  <div class="control-group">
						<label class="control-label" for="focusedInput">* Confirme a Senha</label>
						<div class="controls">
							<html:password maxlength="10" name="usuarioForm" property="senhaNova" styleClass="input-medium focused" styleId="id_senha_digitada" />
						</div>
					  </div>
					  <div class="form-actions">
						<button id="bt_salvar" onclick="executar('alterarSenha')" type="button" class="btn btn-primary">Salvar</button>
						<button class="btn" onclick="executar('inicio')">Cancelar</button>
					  </div>
					</fieldset>
				  </html:form>
			</div>
		</div><!--/span-->
	
	</div><!--/row-->